package com.smartleanx.module.hrm.controller.admin.employee.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

@Schema(description = "管理后台 - 员工导入 Response VO")
@Data
@Builder
public class EmployeeImportRespVO {

    @Schema(description = "创建成功的员工名称数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> createNames;

    @Schema(description = "更新成功的员工名称数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> updateNames;

    @Schema(description = "导入失败的员工集合，key 为员工名称，value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String, Object> failureNames;

    private String fileName;

    private String filePath;

    //成功数量
    private String successNum;

    private byte[] file;
}
